<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp" %>	
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
label{
	width:150px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- css js-->
	
<title>房屋套新增</title> 
</head>
<body style="margin:0;padding:0">
<div class="easyui-accordion" style="width: 100%; height: 100%; border: 0px;">
	<div title="房屋（套）登记信息">
	<form id="addForm" action="${ctx }/GgFwxxfh/save" method="post">
	     <input type="hidden" name="fhid" value="${vo.fhid}" />
     <%--查询条件--%>
     	<div class="easyui-panel" style="padding: 10px 20px;">
     		<div>
				<label style="text-align: right;"> &nbsp;房屋性质：</label> 
				<input type="radio" name="czwxz" value="1"/><span>出租屋</span>
		        <input type="radio" name="czwxz" value="2"/><span>单位宿舍</span> 
		        <input type="radio" name="czwxz" value="3"/><span>亲友房屋</span>  
		        <input type="radio" name="czwxz" value="4"/><span>自购房屋</span>  
		        <input type="radio" name="czwxz" value="5"/><span>工地工棚</span>  
		        <input type="radio" name="czwxz" value="6"/><span>其他</span> 
			</div> 
     		<div style="margin-top: 5px;">
				<label style="text-align: right;">街（路巷）：</label> 
				<input type="text" name="jddm" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'150px'" value="${vo.jddm}" />
				<label style="text-align: right;">&nbsp;&nbsp;门（楼）牌号：</label> 
				<input type="text" name="zhid" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'400px'" value="${vo.zhid}" />
				<label style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;详址：</label> 
				<input type="text" name="mz" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'130px'" value="${vo.xz}" />
			</div>
     		<div style="margin-top: 5px;">
				<label style="text-align: right;">&nbsp;建筑面积：</label> 
				<input type="text" name="mj" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:false,width:'100px'" value="${vo.mj}" />平方米
				<label style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;出租面积：</label> 
				<input type="text" name="czmj" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:false,width:'100px'" value="${vo.czmj}" />平方米
				<label style="text-align: right;">&nbsp;&nbsp;产权性质：</label> 
				<input type="text" name="cqxz" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'130px'" value="${vo.cqxz}" />
				<label style="text-align: right;">&nbsp;&nbsp;产权证类别：</label> 
				<input type="text" name="cqrid" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'130px'" value="${vo.cqrid}" />
			</div>
			<div style="margin-top: 5px;">
				<label style="text-align: right;">&nbsp;产权证号：</label> 
				<input type="text" name="cqzh" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'150px'" value="${vo.cqzh}" />
				<label style="text-align: right;">&nbsp;&nbsp;房屋用途：</label> 
				<input type="text" name="cqzgdyt" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:true,width:'150px'" value="${vo.cqzgdyt}" />
				<label style="text-align: right;">&nbsp;&nbsp;&nbsp;&nbsp;实际用途：</label> 
				<input type="text" name="sjyt" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'130px'" value="${vo.sjyt}" />
			</div>
			<div style="margin-top: 5px;">
				<label style="text-align: right;">&nbsp;档案编号：</label> 
				<input type="text" name="dabh" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'350px'" value="${vo.dabh}" />
				<label style="text-align: right;">&nbsp;&nbsp;出租屋门牌号(自编管理号)：</label> 
				<input type="text" name="czwmph" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'350px'" value="${vo.czwmph}" />
			</div>
     		<div style="margin-top: 5px;">
				<label style="text-align: right;">&nbsp;填表日期：</label> 
				<input type="text" name="tbrq" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:false,width:'100px'" value="${vo.tbrq}" />
				<label style="text-align: right;">&nbsp;&nbsp;是否自贸区管理：</label> 
				<input type="text" name="sfzmqgl" size="30" maxlength="50" class="easyui-textbox" 
							data-options="required:false,width:'80px'" value="${vo.sfzmqgl}" />
				<label style="text-align: right;">&nbsp;&nbsp;最高居住人数：</label> 
				<input type="text" name="zgjzrs" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'100px'" value="${vo.zgjzrs}" />
				<label style="text-align: right;">&nbsp;&nbsp;是否签订《治安责任书》：</label> 
				<input type="text" name="sfzb" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'120px'" value="${vo.sfzb}" />
			</div>
			<div style="margin-top: 5px;">
				<label style="text-align: right;">&nbsp;非流动人员居住：</label> 
				<input type="text" name="fldryjz" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'350px'" value="${vo.fldryjz}" />
				<label style="text-align: right;">&nbsp;&nbsp;自助平台用户：</label> 
				<input type="text" name="" size="30" maxlength="50" class="easyui-textbox" 
							data-options="width:'350px'" value="" />
			</div>
     	</div>
     	<div style="text-align: center; padding: 10px; margin-right: 100px;">
   			<a href="javascript:void(0)" class="easyui-linkbutton"
				iconCls="icon-remove" onclick="baseReset('addForm')">重置</a> 
			<a href="javascript:void(0)" class="easyui-linkbutton"
				iconCls="icon-save" onclick="submitForm()">提交</a> 
			<a href="javascript:void(0)" class="easyui-linkbutton"
				iconCls="icon-cancel" onclick="clearForm('win')">取消</a>
     	</div>
	</form>
    </div> 
</div> 

<script type="text/javascript">
function submitForm() {
	$('#addForm').form('submit', {
		onSubmit : function() {
			return $(this).form('enableValidation').form('validate');
		},
		success : function(data) {
			var data = eval('(' + data + ')');
			if (data) {
				if (data.ack_code == "SUCCESS") {
					showMsg('提示', data.message);
					parent.closeAndRefreshTab("房屋套新增");
				} else {
					showMsg('提示', data.message);
				}
			} else {
				showMsg('提示', '操作失败！');
			}
		}
	});
}

</script>
</body>
</html>